package com.ruoyi.service.service;

import java.util.List;
import com.ruoyi.service.domain.ServiceReason;

/**
 * 锁定原因Service接口
 * 
 * @author ZDL
 * @date 2024-11-12
 */
public interface IServiceReasonService 
{
    /**
     * 查询锁定原因
     * 
     * @param reasonId 锁定原因主键
     * @return 锁定原因
     */
    public ServiceReason selectServiceReasonByReasonId(Long reasonId);

    /**
     * 查询锁定原因列表
     * 
     * @param serviceReason 锁定原因
     * @return 锁定原因集合
     */
    public List<ServiceReason> selectServiceReasonList(ServiceReason serviceReason);

    /**
     * 新增锁定原因
     * 
     * @param serviceReason 锁定原因
     * @return 结果
     */
    public int insertServiceReason(ServiceReason serviceReason);

    /**
     * 修改锁定原因
     * 
     * @param serviceReason 锁定原因
     * @return 结果
     */
    public int updateServiceReason(ServiceReason serviceReason);

    /**
     * 批量删除锁定原因
     * 
     * @param reasonIds 需要删除的锁定原因主键集合
     * @return 结果
     */
    public int deleteServiceReasonByReasonIds(Long[] reasonIds);

    /**
     * 删除锁定原因信息
     * 
     * @param reasonId 锁定原因主键
     * @return 结果
     */
    public int deleteServiceReasonByReasonId(Long reasonId);
}
